package csnd.xinghe.neo4j.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("outside_qcc_company")
public class CompanyDo {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "name")
    private String name;

    @TableField(value = "no")
    private String no;

    @TableField(value = "belong_org")
    private String belongOrg;

    @TableField(value = "oper_id")
    private String operId;

    @TableField(value = "oper_name")
    private String operName;

    @TableField(value = "start_date")
    private String startDate;

    @TableField(value = "end_date")
    private LocalDateTime endDate;

    @TableField(value = "status")
    private String status;

    @TableField(value = "province")
    private String province;

    @TableField(value = "updated_date")
    private LocalDateTime updatedDate;

    @TableField(value = "credit_code")
    private String creditCode;

    @TableField(value = "regist_capi")
    private String registCapi;

    @TableField(value = "econ_kind")
    private String econKind;

    @TableField(value = "address")
    private String address;

    @TableField(value = "scope")
    private String scope;

    @TableField(value = "term_start")
    private LocalDateTime termStart;

    @TableField(value = "term_end")
    private LocalDateTime termEnd;

    @TableField(value = "check_date")
    private LocalDateTime checkDate;

    @TableField(value = "org_no")
    private String orgNo;

    @TableField(value = "is_on_stock")
    private String isOnStock;
}
